<?
include ('../../config/config.php');
if (isset($_POST['simpan'])){
	$id = key ($_POST['simpan']);
	
	$q = mysql_query("SELECT p.ID_PEKERJAAN AS id, p.NAMA_PEKERJAAN AS nama, j.JENIS_PEKERJAAN as jenis, p.DUE_PEKERJAAN as duedate FROM pekerjaan as p INNER JOIN jenis_pekerjaan as j ON p.ID_JENIS=j.ID_JENIS WHERE p.ID_PEKERJAAN =".$id);	
}	

?>